package Vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;

import Controlador.ControladorDetalle;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogDetalleCompra extends javax.swing.JDialog {
	private JPanel jPanelDetalleCompra;
	private JLabel jLblCodigoIngrediente;
	private JButton jBtoAceptar;
	private JTextField jTxtCodigoCompra;
	private JButton jBtoSalir;
	private JButton jBtoDetalleBuscar;
	private JTextField jTxtMontoCompra;
	private JLabel jLblMontoCompra;
	private JTextField jTxtCantidad;
	private JTextField jTxtCodigoIngrediente;
	private JLabel jLblCantidad;
	private JLabel jLblCodigoCompra;

	/**
	* Auto-generated main method to display this JDialog
	*/
	
	
	
	public NewJDialogDetalleCompra(JFrame frm,
		ControladorDetalle controladorDetalle){
		super(frm);
		initGUI();
	}	
	

	private void initGUI() {
		try {
			{
				this.setTitle("Compras de ingredientes");
				this.setFont(new java.awt.Font("Comic Sans MS",3,14));
				getContentPane().setLayout(null);
				{
					jPanelDetalleCompra = new JPanel();
					getContentPane().add(jPanelDetalleCompra);
					//jPanelDetalleCompra.setLayout(jPanelDetalleCompraLayout);
					jPanelDetalleCompra.setBounds(12, 21, 596, 325);
					jPanelDetalleCompra.setFont(new java.awt.Font("Comic Sans MS",3,14));
					jPanelDetalleCompra.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					jPanelDetalleCompra.setLayout(null);
					jPanelDetalleCompra.setBackground(new java.awt.Color(237,206,69));
					{
						jLblCodigoCompra = new JLabel();
						jPanelDetalleCompra.add(jLblCodigoCompra);
						jLblCodigoCompra.setText("Codigo de la Compra");
						jLblCodigoCompra.setBounds(31, 21, 188, 21);
						jLblCodigoCompra.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblCantidad = new JLabel();
						jPanelDetalleCompra.add(jLblCantidad);
						jLblCantidad.setText("Cantidad");
						jLblCantidad.setBounds(31, 140, 188, 21);
						jLblCantidad.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoAceptar = new JButton();
						jPanelDetalleCompra.add(jBtoAceptar);
						jBtoAceptar.setText("Aceptar");
						jBtoAceptar.setBounds(31, 277, 98, 28);
						jBtoAceptar.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtCodigoCompra = new JTextField();
						jPanelDetalleCompra.add(jTxtCodigoCompra);
						jTxtCodigoCompra.setBounds(231, 18, 198, 28);
						jTxtCodigoCompra.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtCodigoIngrediente = new JTextField();
						jPanelDetalleCompra.add(jTxtCodigoIngrediente);
						jTxtCodigoIngrediente.setBounds(231, 77, 198, 28);
						jTxtCodigoIngrediente.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTxtCantidad = new JTextField();
						jPanelDetalleCompra.add(jTxtCantidad);
						jTxtCantidad.setBounds(229, 137, 200, 28);
						jTxtCantidad.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblCodigoIngrediente = new JLabel();
						jPanelDetalleCompra.add(jLblCodigoIngrediente);
						jLblCodigoIngrediente.setText("Codigo del Ingrediente");
						jLblCodigoIngrediente.setBounds(31, 80, 188, 21);
						jLblCodigoIngrediente.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblMontoCompra = new JLabel();
						jPanelDetalleCompra.add(jLblMontoCompra);
						jLblMontoCompra.setText("Monto Compra");
						jLblMontoCompra.setFont(new java.awt.Font("Comic Sans MS",3,14));
						jLblMontoCompra.setBounds(31, 198, 188, 21);
					}
					{
						jTxtMontoCompra = new JTextField();
						jPanelDetalleCompra.add(jTxtMontoCompra);
						jTxtMontoCompra.setBounds(229, 195, 200, 26);
					}
					{
						jBtoDetalleBuscar = new JButton();
						jPanelDetalleCompra.add(jBtoDetalleBuscar);
						jBtoDetalleBuscar.setText("Buscar");
						jBtoDetalleBuscar.setBounds(463, 22, 109, 22);
						jBtoDetalleBuscar.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoSalir = new JButton();
						jPanelDetalleCompra.add(jBtoSalir);
						jBtoSalir.setText("Salir");
						jBtoSalir.setBounds(469, 281, 98, 28);
						jBtoSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
			}
			this.setSize(630, 400);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public JPanel getjPanelDetalleCompra() {
		return jPanelDetalleCompra;
	}

	public JLabel getjLblCodigoIngrediente() {
		return jLblCodigoIngrediente;
	}

	public JButton getjBtoAceptar() {
		return jBtoAceptar;
	}

	public JTextField getjTxtCodigoCompra() {
		return jTxtCodigoCompra;
	}

	public JTextField getjTxtMontoCompra() {
		return jTxtMontoCompra;
	}

	public JLabel getjLblMontoCompra() {
		return jLblMontoCompra;
	}

	public JTextField getjTxtCantidad() {
		return jTxtCantidad;
	}

	public JTextField getjTxtCodigoIngrediente() {
		return jTxtCodigoIngrediente;
	}

	public JLabel getjLblCantidad() {
		return jLblCantidad;
	}

	public JLabel getjLblCodigoCompra() {
		return jLblCodigoCompra;
	}


	public JButton getjBtoDetalleBuscar() {
		return jBtoDetalleBuscar;
	}


	public JButton getjBtoSalir() {
		return jBtoSalir;
	}

}
